package dao;

import model.TimesCard;
import model.YearCard;

public interface TimesCardDao {
	//增加次卡
	public void addCard(TimesCard tCard);
	//延长次卡
	public void extendCard(TimesCard tCard);
	//获得剩下次数
	public int getTimesLeft(TimesCard tCard);
	//database中存在指定card_id的row
	public boolean hasRow(TimesCard tCard);

}
